package com.graduate.twentyone.service;

import com.graduate.twentyone.domain.Cate;
import com.graduate.twentyone.domain.Echarts;

import java.util.List;

public interface CateService {

    List<Cate> queryAll();

    Integer updateById(Cate cate);

    Integer deleteById(Integer cate_id);

    Integer addOne(String cate_name);

    void deleteByIdAndFoods(Integer cate_id);

    List<Echarts> queryEcharts();
}
